﻿<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="CarManage_MaintainPlanModeWebForm.aspx.cs" Inherits="Anke.SHManage.Web.Reports.CarManage_MaintainPlanModeWebForm" %>

<%@ Register Assembly="Microsoft.ReportViewer.WebForms, Version=14.0.0.0, Culture=neutral, PublicKeyToken=89845dcd8080cc91" Namespace="Microsoft.Reporting.WebForms" TagPrefix="rsweb" %>

<!DOCTYPE html>

<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
    <title>车管科保养计划表</title>
    <script src="../Content/EasyUI/jquery.js"></script>
    <script src="../Content/EasyUI/jquery.easyui.js"></script>
    <script src="../Content/EasyUI/locale/easyui-lang-zh_CN.js"></script>
    <link href="../Content/EasyUI/themes/icon.css" rel="stylesheet" />
    <link href="../Content/EasyUI/themes/default/easyui.css" rel="stylesheet" />
    <script type="text/javascript">
        $(document).ready(function () {
            $("#AmbNumber").combobox({
                url: "../CM/CarBasicInfo/getPlateByStationID?stationCode=-1",
                method: 'POST',
                valueField: 'PlateNumber',
                textField: 'PlateNumber',
                editable: true,
                panelMaxHeight: 350
                //,onLoadSuccess: function () {

                //    var dataz = $('#AmbNumber').combobox('getData');
                //    $("#AmbNumber").combobox('select', dataz[0].PlateNumber);
                //}
            });
        });
    </script>


</head>
<body>
    <form id="form1" runat="server">
        <div>
            <asp:ScriptManager ID="ScriptManager1" runat="server"></asp:ScriptManager>
            <div>
                <table>
                    <tr>
                        <td>查询年份：
                        </td>
                        <td>
                            <asp:TextBox ID="Year" class="easyui-numberbox" Style="width: 150px" runat="server"></asp:TextBox>
                        </td>
                        <td>车号:</td>
                        <td>
                            <asp:TextBox ID="AmbNumber" class="easyui-combobox" Style="width: 150px" runat="server"></asp:TextBox>

                        </td>
                        <td>
                            <asp:Button ID="last" runat="server" Text="查看" OnClick="btnSearch_Click1" />

                        </td>
                  
                    </tr>
                </table>

            </div>
            <div style="background-color: #fafafa; border-left: 1px solid scrollbar; height: 100%;">
                <rsweb:ReportViewer ID="ReportViewer1" Width="100%" Height="100%" runat="server"   SizeToReportContent="True"></rsweb:ReportViewer>
            </div>
        </div>
    </form>
</body>
</html>
